package com.jh.paymentchannel.repository;

import com.jh.paymentchannel.pojo.AlipayAuthToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface AlipayAuthTokenRepository extends JpaRepository<AlipayAuthToken, String>,JpaSpecificationExecutor<AlipayAuthToken>{
	
	AlipayAuthToken findByShopId(String shopId);

	AlipayAuthToken findByAppId(String appId);
}
